implemented and set clien t side cookies
removes client side cookies and implemented server side cookies