Added validate session.