Add API for user management