changed role in share_calendar function