Fix code indentation.
Sanitation checks for the user import. Only allow integer values (uid) and verify that user hasn't already been imported.