refactor log
contentTypeTransfer in imap
add mapping between module and prim table
add method for checking if user owns a row in a table