Reformat
Initial code to add progress indicator for login
Minor cleanup