Why is the Trump administration building a database about people in the US?

Could be a great tool for surveillance.; data from states also are being collected.