cache user object in view