handle cookies not existing