Updates

Changed POST redirects to do a smart detection of the current url.