private static void GetLogin(IDictionary<string, string> parameters, HttpRequestEventArgs e) { if (Session.IsAuthenticated(e)) DefaultResponses.RedirectResponse(e, "/admin"); else DefaultResponses.FileResponse(e, Path.Combine(_base_directory.FullName, "login.html")); }