@Override
	public boolean authorize(AuthorizationToken token) {
		if (token.getType().equals(getType())) {
			if (userExists(token.getId()) && users.get(token.getId()).equals(token.getPasscode())) {
				return true;			
			}
			System.out.println("Access denied.");
		}
		else {
			System.out.println("Invalid AuthorizationToken.");
		}
		return false;
	}