refactored code, implemented jbuilder, check if school/user exists at point of import