It doesn't look like you've written any code since your first posting and yet you said you were having difficulty getting something to show after entering a password.
Here's quick example that makes use of the shipping example already mentioned. It's in 8.0 since the last example you posted was in that version.