added deletion of sessions when language is changed