Check if the user is an adminstrator
wip
Initial work on import as
Some fixes for import as