add cookie config methods