change user model attach avatar to user
fix conflicts in user model validation
fix user model for attching avatar