query records created by user