using before_action to simple Group.find() function