updated configuration and autherisation bugs