added decrypting function to kirby core
define IS_LOCAL correctly