fix local storage domain issues,sessionid now in localstorage,fix data sent to server issue