adding lookup to Doc controller for vanity urls