add session
add read more in middleware
add content headers