Fix in login authentication