Added the labels to the messages table and also getting them from the database in the messages.js