split app into different files
new subdir for external js libs
unified session urls
unified js logout method
fixed logout button
flip tests for the login