corrected the authentication