Todo manager app in PHP with Codeigniter, MySql and Ajax