Add CSS classes to fields and more

* improve ui, add some missing functions, remove broken ones
CSRF tokens and autologin