Add registration url mappings and remove unused code in settings.