added query string functionality for GET's