Cleanup of node creation methods, search, some refactoring
Fix issue where user session was blown away after logout
Use dist folder for static files when defined in the env, random cleanup and refactoring