added user management functionality