Factors influencing mental health and well-being