moved user relations out of user model