Updated to include Codeigniter Session storage