Fixing isUser issue