public AuthenticateService(UserService userService, IOptions <AppSettings> appSettings) { _userService = userService; _appSettings = appSettings.Value; }