Created function is_password_match
Fixed conflict, merge issue#5 and issue#10 to dev_1.0