A model of smart environment for e-learning based on crowdsourcing