Working on the authentication