Correctd the authentication