Add $this->session->userdata() function

Adding the missing method.