Improved the registration form