add extra variables to user and viewer models