fixed auth & filecache issues
fixed compilation issues