putting some logging into routes