add invite friends and accept invite functionality