before_action for DRY controller, refactor