user object to views