added timestamp function to dateCtrl for unique data structuring in firebase