Fixed a bug where a temporary file was not removed from /tmp.
Removed own session implementation and used the new mession.js module instead.