deleted routes and views, refactored and now in index.html