Adding inviting friends functionality