Activity log adds activities to db. First step complete.

next add ajax