consolidate websockets to all be initialized in one method