Adding support for permalinks retro compatibility

Fixing bug in defining the author of the document
Populating the new permalinks tables during migration