Register user automatically after validation.