User history queries added