add koa-session
use session to generate csrf token
send data to server
add data directory
write register info with time stamp
ignore data/