add blacklist check and expired time check