Implemented messaging functionality for team page