Implement logoff and closing of connection when application quits.
Finish implementation of logoff process. Group is now notified, when user loggs off.