Fixed issue where user's name was not getting pushed to db during registration