adding the user object in queries.