clean up old code from previous app, simplified chat app