added user activities query api