add routes and controller actions