user history queries added