updated the views file so that it now has live data for the graph, also rolled back the logs file so it now actually adds data to the database

yeah the log file had some bad code and while it looked like it was adding stuff to the db it really wasn't