Added getMemberByID function in group.js