BugFix: check if user is null