this is a chat basic on codeigniter2.2