Added in client changes to allow the user to register.