Escape refreshUser if $user->getId() is undefined or null