fixed autentication issue