adding methods for visits
adding routes and views for views