fix for alter login form

add required fields
change tpl name