private bool TryAuthenticate(string username, string password, out AuthenticationToken token) { Log.Info("authenticating..."); try { token = F1Timing.Live.Login(username, password); Log.InfoFormat("authenticated: {0}", username); return true; } catch(Exception exc) { Log.Error(exc); token = null; return false; } }