implemented message model feature with an action mailer configuration and added public pages