added a guestname helper to the chat app and fixed some bugs in the server