Added login listeners.