-added progress bar if login is taking a while