Update  frontend for the new authentication system