Changed site_url() to home_url() for return and response URL's.