added no session found error to retrieve account information method,
minor updates to the javascript functions