abstracted password check text from methods