implement crude logout mechanism