added registration form and CS validations.