factor progress indicator to site.js, add to sign in page