Added app.get to the views and linked them to the routes