Adding graphs, fixing login flow

Adding d3 for javascript graphs of data. Index/graph shows a single day
(hard coded). If you are not logged in, the login prompt now exists in
the Login controller.