public AuthenticationService(IAnalyticService analyticService, ISettingsService settingsService, IOperations operations) { _analyticService = analyticService; _settingsService = settingsService; _operations = operations; var userJson = _settingsService.GetItem(Constants.SettingKeys.UserSettingKey); if (!string.IsNullOrEmpty(userJson)) { try { User = JsonConvert.DeserializeObject <UserModel>(userJson); _analyticService.Init(User.Email, User.Id.ToString()); } catch (Exception ex) { } } }