logout link on new form if no habits

Fixes #48