saving users to file fixed