add views and routes