Moved current_user to view as it is not in scope for pundit