added a default cookie config
added a default lang config