Fixed mult-logging problem and restricted access to unknown users