add proto constants, and impl for user/room operations