move orm specific logic into UserRepository service