Added routes and register page