Fixes to registration -- still have an issue adding users to the database