changed location of logic.php and header.php