added client registration form and validation