fixed username checking in localstorage, updated jio.js and complex_queries.js