adapted calls of isUserLoggedIn in FavoritesController accordingly