fixing queryUser