working password check methods