[],
              hasRole: function(roleName) {
                if (this.roles.includes(roleName)) {
                  return true
                }
                return false
              },
            })
            Alpine.store('chat', {
              messages: [],
              chatInput: "",
              post: function() {
                this.$store.chat.messages.push({"source": "user", "message": this.$store.chat.chatInput})
                let payload = {"messages": this.$store.chat.messages}
 