added ability to edit friendList to addEvent and addMessage