refactor messages system
sessions create page should also bottom place footer
prepend a global variable
update flash keys