improved account settings

This fixes the delete button, which became never active, and also a few minor markup issues.
Setting the email input to ``type=email`` is just for convenience, though.