public function __construct($DAL) { self::$UserDAL = $DAL; if (!isset($_SESSION[self::$isLoggedin])) { $_SESSION[self::$isLoggedin] = false; } }