Working with users and privileges