Checked the proper insertion in the notification table

+ Fixed issues with all message types