Client for to register a user validates input.