working on json in add members controller