fixed checkPassword()

oppsie