[api2] Add apis for contacts and user messages