Lessons learned from the massive shift to online learning due to COVID-19