Design a way on the popup such that when a user is authenticated with the valid pass phrase, the generated password is displayed on the popup. Also add a spinning wheel while password calculation is happening in order to allow the user to know the application is processing and not frozen.