Friendship system Codeigniter Ajax