fix user identification bug