shell: displays password error message

When a types in his password twice to confirm it is the desired password
an error message is now displayed under the text box. The text box
itself is now highlighted to further show this error.

Fixes: #739
indentation seems broken here and on the following lines.