changed NoLoggedUserException to RuntimeException