Added rest services for messages and created UI for getting and updating messages