Redirect to referrer, rather than just root