added date selector on main page