fixed up the routes in the config file and created a registration page