code: function hasAccess(access, res, err, next, uri){
  	if (err) {
  		api.writeError(404, res, err);
  	} 
  	if(access) {
  		next();
  	} else {
  		api.writeError(403, res, "You are not authorized to access: " + uri);
  	}
  }
docs: Callback used in checkAccess
  @param {bool} access If the requesting user has access
  @param {XmlHttpRespsose} res The backing response
  @param {*} err The returned error, if any
  @param {fn} next The function to move the express routing queue
  @param {string} uri The URI that attempted to be accessed