replace userrepository with usermanager in exercisecontroller