API built in PHP (CodeIgniter) for Miingle android  App