Text this: Enhancement of Security Architecture for Smartcard Based Authentication Protocols