made layout for chat