Added AccountType variable and added database functions