checkPassword added