implements Session class in index.php