rebuilding the autentication