register_client API changed to accept only single group at a time.