I don't understand why do you register user in method validating registration data?