registration page has validation