add progress dialogs to login and registration