Added a factory and spec for the activity logs controller