setLogin putIfAbsent condition fix