clear session line
add moment, set the deadline to utc
format the date to local time, and properly format the deadline input
handle browsers supporting date input issue