tidy up all the broken references to the registration app.
Allow login with email as well as username.
make password change a table