title: link url not working in Codeigniter
body: <p>I am just starting and implementing template in codeigniter 3.1
  after login when i click on any side menu then it doesn't work. if i tried to open in new window then its automatically logout &amp; redirect to login page.
  my view is following.</p>
  
  <pre><code>&lt;li class="active treeview"&gt;
        &lt;a href="&lt;?php echo base_url()."user/admin"; ?&gt;"&gt;
          &lt;i class="fa fa-dashboard"&gt;&lt;/i&gt; &lt;span&gt;Dashboard&lt;/span&gt;
          &lt;span class="pull-right-container"&gt;
            &lt;i class="fa fa-angle-left pull-right"&gt;&lt;/i&gt;
          &lt;/span&gt;
        &lt;/a&gt;          
      &lt;/li&gt;
  </code></pre>
  
  <p>my controller user have function name admin have following code.</p>
  
  <pre><code>function admin(){
  $user_login=array(
  'user_email'=&gt;$this-&gt;input-&gt;post('user_email'),
  'user_password'=&gt;md5($this-&gt;input-&gt;post('user_password'))
  );
  $data=$this-&gt;user_model-&gt;login_user($user_login['user_email'],$user_login['user_password']);
    if($data)
    {          
      $this-&gt;session-&gt;set_userdata('user_id',$data['user_id']);
      $this-&gt;load-&gt;view('template/header');
      $this-&gt;load-&gt;view('template/sidemenu');
      $this-&gt;load-&gt;view('body');
      $this-&gt;load-&gt;view('template/footer');
    }
    else{
      $this-&gt;session-&gt;set_flashdata('error_msg', 'Wrong Credentials...');
      $this-&gt;load-&gt;view("login.php");
    }
  
  
  }
  </code></pre>