Fixed the user register form submission.