UserIdentity class was updated, commands for adding users and rules were added