Added missing code for activity logs
This isn't being used yet
Merge pull request #17 from biola/activity_log_fix

Added missing code for activity logs