added mcrypt functionality for encoding and decoding session data