link user model to user repo