changed date to datetime
added before filter and some routing