delete session dynamically