added check to see if a session is already started before initialize.php is executed