Updated Authentication Mechanism