added messageAuthor as global var