add addfriend and unfriend function