 import Vapor
 import SteamPress
+import AuthProvider
 
 extension Droplet {
     public func setup() throws {

                "about_page": true,
                "uri": req.uri.description
            ]

            if let twitterHandle = self.config["twitter", "siteHandle"]?.string {
                parameters["site_twitter_handle"] = twitterHandle

            if posts.count > 0 {
                parameters["posts"] = try posts.makeNode(in: BlogPostContext.shortSnippet)
            }
            
            if req.auth.isAuthenticated(BlogUser.self) {
                parameters["user"] = try req.auth.assertAuthenticated(BlogUser.self)
            }

            if let twitterHandle = self.config["twitter", "siteHandle"]?.string {
                parameters["site_twitter_handle"] = twitterHandle
