Add interface to log user activity