Added SendMessage view and controller functions