Add check password strength api method