add routes and registration page