modify mainui for invite and so on