trip controller and view