added session- and cookie-handling
removed session- and cookie-handling, comments code