Fixes #5: using button in toolbar instead of commandButton. Fixes #3:
using button for logout.