validating and processing the signup form