changed server to decide between one user query and full user query