internal void CheckAccessLevel(Servlet responder)
 {
     if (GetAuthenticatedAccessLevel() < responder.GetAccessLevel())
     {
         throw new HttpException(HttpException.ACCESS_FORBIDDEN, "Access level is not sufficient.");
     }
 }
 internal void CheckSessionId(Servlet responder)
 {
     if (string.IsNullOrEmpty(this.request.GetSessionId()))
     {
         string newSessionId = Guid.NewGuid().ToString();
         responder.SetCookie("sessionId", newSessionId);
         Program.sessionsCollection.InsertNewSession(newSessionId);
     }
 }