refine before_action a little bit