fixed join and quit on the clients
removed unused files