added view and routes