added getAccount  query