       
       try request.session().data["timeStamp"] = Node(String(Date().timeIntervalSinceReferenceDate))
       
-      return try server.view.make("index",
-                                  ["url": Node("https://github.com/login/oauth/authorize?client_id=\(GitHubClientID)")])
-    }
-    
-    server.get("oauth", "github") { [unowned self] request in
+      return try self.droplet.view.make("index",
+                                        ["url": Node("https://github.com/login/oauth/authorize?client_id=\(GitHubClientID)")])
+    }
+    
+    self.droplet.get("oauth", "github") { request in
       guard let sessionIdentifier = try request.session().identifier,
             let code = request.data["code"]?.string
       else {

      return Response(redirect: "/load")
    }
    
    server.get("load") { [unowned self] request in
      guard let _ = self.userForRequest(request) else {
        return Response(redirect: "/")
      }
      
      return try server.view.make("load")
    }
    
    server.get("load", "status") { [unowned self] request in
      guard let user = self.userForRequest(request) else {
        return Response(status: .unauthorized)
      }

        }
      }()

      return try self.droplet.view.make("search", [
                                        "totalCount": Node(user.repos.count),
                                        "reposCount": Node(String(dicts.count)),
                                        "query": Node(query),
                                        "order": Node(order.rawValue),
                                        "repos": Node(dicts),
                                        "status": Node(status)
                                      ])
    }

    self.droplet.get("admin") { request in
      guard let headerValue = request.headers[HeaderKey("Authorization")], headerValue.hasPrefix("Basic "),
            let passwordData = Data(base64Encoded: headerValue.substring(from: headerValue.index(headerValue.startIndex, offsetBy: 6))),
            let password = String(data: passwordData, encoding: .utf8), password == ":\(AppAdminPassword)"
