private bool VerifyLogin(CookieCollection cookies) { Dictionary <string, string> cooks = cookies.ToDictionary(); if (cooks.ContainsKey("key") && cooks.ContainsKey("userID")) { return(true); } return(false); }