add before action for items_contoller