Check password using davids security method