date rendering in header works, gets it from session variable