deleted unused views and routes and fixed tests