add wait b/w logout and login