configuring the routes and making new.html file for views