decouples server events from host controller, adds error handling for no invite on record