add api
add login_form.tpl