save session to cookies; gzip app