Validated the registration form! Need to add more stuff here!