Added validateSession.php to relevant php files.