refining associations user and messages