add active state information to client and sqlite3