Fix issues #25 #26 raid teams & roles

added js and php validation