Remove unused imports, define GetUser