moved resenv
introduced a mainpage resource
reset cookie during logout
moved util functions to webutils
moved ConnectTopbar to webutils
html and js now generated by server-side view classes
cleanup