Session validation added.