protected function __init()
 {
     $this->loadlib('database');
     $db = new Database_Connection();
     // create new db connection
     $cid = $db->connect("mysql://*****:*****@localhost/test");
     // connect
     $this->loadLib('sessions');
     // load lib
 }