removed dispose from user repository teardown, it caused an error