added rejoin network and change channel funtions