send current_user.id to rate method