add provisionally test code
add login_form
fix a bug of wrong charset