extracted isUserloggedIn and getUserFromSession from UserController to
FavoritesService