Test graph.
Added user role.
Document not found will now raise errors in dev.
Tablesorter.
Progress to cleaning user controller.