create session &  custume cookie