main route.js add comment with some tips

working with backend sessions