Extracted CurrentUserProvider class