Defined views in chat app