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

Adding the missing method to the file..