Add Log-Activity support
fix indentation
Adding tests for log_activity