demo for REST server/client setup using codeigniter