Update autoload.php

use database and session libraries