creating and using cookies
logout flow + fixing signup cookie flow