Built different view for register, worked on the validation for the register form.