Added /editlog middleware, model, service document, and search mapping