FIXED: log into correct files