Small modification to the authentication section