Implemented the leave request on the server.
Wired the leave notification through to the frontend.