Dead code in LoginListener retired