logging on functions in user activity