load data from db instead of session for the first time
add pages info for getting notebook info