Improve users controller before_action logic