Updated Library class for handling Sessions natively instead of cookie based for Codeigniter 2.2