Implemented Password verification