Web services in PHP-CodeIgniter