Made it so auto-register actually inserts the user into the database.