reenable login button after process is complete