Change before_filter to before_action, new conventin