method for querying activities by user
Merge pull request #308 from pjakobsen/master

Change to custom API in logic.py