Change to isUser function
made some change to room system