add BASE_URI to redirect