Added logging. Changed route.