Added a safe method to retrieve person session
Added method to discard current session
Modify create_document to output user name
BUG: the create of document is static and workaround needed to refresh the name
Discard session when another login in submitted