added views and routes