correct redirect paths for webapp.