Extract credentials into file, UI work