registration page has form validation