woriking no auth mode and misc fixes