change userEvents to viewEwents