Fix cache in User class