add a base url to ensure that the right one is used
little addjust ment for the right headers
skip mages way of redirect
Merge pull request #7 from jeremyBass/master

last bit of changes