Use checkPassword API