        think hitting the /logout endpoint does anything? Not in the framework 
        spec either.
      */
-    public var logoutEndpoint = "/logout"
+    public var logoutEndpoint = "/logout" {
+        didSet {
+            logoutEndpoint = logoutEndpoint.withLeadingSlash
+        }
+    }
     
     /// Endpoint to register a new account
-    public var registerEndpoint = "/register"
+    public var registerEndpoint = "/register" {
+        didSet {
+            registerEndpoint = registerEndpoint.withLeadingSlash
+        }
+    }
     
     /**
      Initializer for StormpathConfiguration. The initializer pulls defaults from 

     */
    public static var defaultConfiguration = StormpathConfiguration()
    
    /// Configuration parameter for the API URL. Do not use a trailing slash in the URL.
    public var APIURL = NSURL(string: "http://localhost:3000")!
    
    /// Endpoint for the current user context
    public var meEndpoint = "/me"
    
    /// Endpoint to request email verification
    public var verifyEmailEndpoint = "/verify"
    
    /// Endpoint to request a password reset email
    public var forgotPasswordEndpoint = "/forgot"
    
    /// Endpoint to create an OAuth token
    public var oauthEndpoint = "/oauth/token"
    
    /**
     Endpoint to logout

            return
        }
        
        APIURL = (stormpathInfo["APIURL"] as? String)?.asURL ?? APIURL
        
        guard let customEndpoints = stormpathInfo["customEndpoints"] as? [String: AnyObject] else {
            return
        }
        
        meEndpoint = (customEndpoints["me"] as? String) ?? meEndpoint
        verifyEmailEndpoint = (customEndpoints["verifyEmail"] as? String) ?? verifyEmailEndpoint
        forgotPasswordEndpoint = (customEndpoints["forgotPassword"] as? String) ?? forgotPasswordEndpoint
        oauthEndpoint = (customEndpoints["oauth"] as? String) ?? oauthEndpoint
        logoutEndpoint = (customEndpoints["logout"] as? String) ?? logoutEndpoint
        registerEndpoint = (customEndpoints["register"] as? String) ?? registerEndpoint
    }
}

