TME-17 stored userid and sessionid in local storage instead of session