#7 refactoring using before_action to find  @project