getting nutritional data from the server to the client for queries