support user register
support flash infromation
add session support