Implemented DatePicker and Redirect