added cancel invitation functionality
added cancel invitation functionality