add database id as a parameter to client constructor