         res.json value
       else
         res.status(404).send "Not found"
-      return
 
-    return
   apps = conn.collection("apps")
   app.get "/apps", (req, res) ->
     sendResult mongoFind({},
       author: true
       name: true
     ), res
-    return
 
   app.get "/apps/:author", (req, res) ->
     sendResult mongoFind(

      console.log "ERROR: cannot connect to mongo at ", mongoUrl, err
    else
      AppDatabaseWithConnection conn, app
    return

  return
AppDatabaseWithConnection = (conn, app) ->
  mongoPost = (content) ->
    data =

        name: req.params.newName
    )
    sendResult mongoResult, res

Bacon = require("baconjs")
randomstring = require("randomstring")
MongoClient = require("mongodb").MongoClient
