implemented data logging and rethought visualization page