Friendship based on codeigniter and Ajax