added tracking of user actions