aop for logging the calls