code: function(request, response, next){
  		if (!utils.Misc.isNullOrUndefined(request.user)) {
  			next();
  		}
  		else {
  			var error = new Error(errors['213']);
  			response.end(utils.Misc.createResponse(null, error, 213));
  		}
  	}
docs: checks for logged-in user