get key & value from query string