I'm starting out with CI and there's something I don't understand.
I'm writing this login page and I'd like to add the users object to the session. How do I do that? The user object comes from my user model..
For a new instance I write:

```
$this->load->model('user_model', 'user');

```

but this won't work:

```
$this->session->set_userdata('userobject', $this->user);

```

Any ideas how this is done?