         # a browser from a URL sent via POST).
 
         if /landing_page$/.test(mountPointNoSlash)
-            @server.get mountPoint, verifyAuthentication, (req, res) =>
+            @server.get mountPoint, isAuthenticated, (req, res) =>
                 components  = mountPointNoSlash.split("/")
-                index       = 1
-                mp          = ""
-                while components[index] isnt "landing_page" and index < components.length
-                    mp += "/" + components[index++]
+                components.pop()
+                mp = components.join("/")
                 user = @findAppUser(req, mp)
                 queryString = @constructQueryString(req)
                 browsers.create app, queryString, user, (err, bserver) =>
                     throw err if err
                     @redirect(res, "#{mountPointNoSlash}/browsers/#{bserver.id}/index#{queryString}")
 
-            @server.get browserRoute, verifyAuthentication, browserRouteHandler
-
-            @server.get resourceProxyRoute, verifyAuthentication, resourceProxyRouteHandler
+            @server.get browserRoute, isAuthenticated, browserRouteHandler
+            @server.get resourceProxyRoute, isAuthenticated, resourceProxyRouteHandler
 
         else if app.authenticationInterface
 

                        next()
                else
                    res.send("Permission Denied", 403)

        # Route handler for resource proxy request
        resourceProxyRouteHandler = (req, res) ->

                        throw err if err
                        res.render 'deactivate.jade'

            @server.get mountPoint, isAuthenticated, (req, res) =>
                queryString = @constructQueryString(req)
                if app.getPerUserBrowserLimit() > 1
                    @redirect(res, "#{mountPointNoSlash}/landing_page#{queryString}")
