remove deprecated websocket_client code and clean up the home view.