Refactored insertUser and insertCorporation