Tried compound queries. Having problems querying from User class