adding routes and route handler