Community Detection and Mining in Social Media