implement license prompt