For better readability changed before_filter by before_action