[C] Add multi-user support