Username of the new account.
User's password, to be salted and hashed before entry.
Type of account. Determines privileges and which table to check.
Academic ID of the person to be found in the database (In the Students/Advisors tables).
An object detailing the result of the creation attempt.
Creates a new User entry in the database. Accounts can only be created for existing Student or Advisor entries in the database. Will return unsuccessful if the username is taken, if there is no person with an equivalent academic ID in the database, or if there is already an account associated with that person.