Update id method of doc controller to use Document model