fixed problem with association in user model