Learning communities in social networks and their relationship with the MOOCs