added logging for user study