Updates to add require not include and added protect.php