tried to implement messaging, database doesnt work yet