Added sessions, based on cookies. Added upload for images (binary). Fixes few bugs