Added registration validation to register.html