session->userdata['account'])){ $this->load->helper('url'); redirect('/auth/login'); } } }