initial layout of chat application