Waits for login..patiently