Facebook makes users discouraged and unhappy, according to study