move category and type logic to models
add more detail to admin documents list