added cookie for session id in the framework