redirect to request.referer

define FavoritesController#redirect_url
redirect if logged_in?