[api2] Fix some bugs
1. user last message timestamp
2. user messages while none