How to add and manage users and their permissions