started to work on the authentication