added GET request functionality