introduce table_print.
finished simple regist and auth.