changed redirect from absolute to relative url