introduced a bug in previous commit, login working again
use hiccup templates