added check password