updated application way of setting session date by using the new date control