Committing changes for logout (castel theme).