added datetime validation for sessions
fixed merge conflict