Replace the progress dialog by a progress text and changing sign in button behavior