Fixed #14 Updated friendship API