Fix user registration issue apply validation