added query and pathname to request
updated readme