deleted methods isUserLoggedIn() and getUserFromSession() from
UserController, since they are in FavoritesViewController