updated controller to store time in a var, added links to views
playing around a bit