Investigating the impact of social media as a tool for e-learning in the digital era