implement changeNickName method for XMPPRoom class