@Override
	public boolean login(String userID, String password) {
		// TODO Auto-generated method stub
		if(validate(userID)){
		String[] userIds= (rb.getString("userIds")).split(" ");
		String[] passwords= (rb.getString("passwords")).split(" ");
		String[] status= (rb.getString("status")).split(" ");
		for (int i = 0; i < userIds.length; i++) {
			if (userIds[i].equals(userID)) {
				if (passwords[i].equals(password)) {
					if (status[i].equals("true")) {
						return true;
					} else {
						return false;
					}
				} else {
					occurance++;
					return false;
				}
			} else {
				occurance++;
				return false;
			}
		}
		}return false;
	}