fix bug(update category failed and can not refer to correct page when
signin)
add log.txt