Add methods and tests for user management.