add share.html and add invitation function to chatroom