Fixed issues

Fixed issue#75: Scenario export to file crashes SoPeCo
Fixed issue#71: Page reload should not log out the user