Mathematical modeling of the influence of social media on self-esteem and productivity