Show user notes when displaying a document

The user can also edit or create new notes.
Query string optimization, take 5.