Replace login with progress bar while waiting for server, close #19.