changes in date format + redirect implemented for pdf export