frontend routes and views fixed