fixing up user model and compose controller