Fixed issue 63. Now logout resets proposal and session ids

Issue 63