navbar/sidebar are not unique to the home view
slight reorganization; removed all the resolve calls since soon(tm)  will return a promise and we can resolve easier.
add session secret to config file.