fixed the login errors and styled the progress bar