Ajax sample to check pwd added