public Account getAccount(String username){
		ArrayList<Account> accounts = getAccounts();
		for(int i = 0; i<accounts.size(); i++){
			if(accounts.get(i).getUsername().equals(username)){
				return accounts.get(i);
			}
		}
		return null;
	}