reverted password check