if (!$this->logged_in() && get_cookie('identity') && get_cookie('remember_code')) { $this->ci->ion_auth_model->login_remembered_user(); }