Few new features, code cleanup

- fixed basic layout
- updated config files
- added client-side session support
- removed unnecessary javascript