public function __construct()
{
parent::__construct();
// calls the constructor
$this->load->model('Dashboard_model');
$this->load->model('Locations_model');
$this->load->model('Themes_model');
$this->load->model('Updates_model');
$this->load->library('currency');
// load the currency library
$this->lang->load('dashboard');
}