fixing registration and allowing users to change their name