final_project.pl add logic for screen if allow,deny