adding routes and filters