Perceived work quality, sense of community at work and well being