1. Add user API and function.