overhauled loginform and template to use new KaneFormComponent and forms lib