added user api to zerogw class