System friendship Ajax and Codeigniter