Chat Example App for Codeigniter API on PHP