added user variable to views, Fix #508