using open uri for get requests