updates to the login and logout to manage for multiple demo apps
Updated for latest version of OutSystems Platform
General object cleanup