dart functions to create and delete cookies
trimming cookie strings