Added more to Invite  functionality and improved team page stuff etc