logging user data scripts