added progress bar for login