Implement user management and authentication endpoints