Setting the routes properly