Role of social media during an emergency