make session workable