public static double getBalance(String uid) {
    	if(checkUserExistance(uid))
    	{
    	UserStorageAccess xmlAccessor = new UserStorageAccess();
        return xmlAccessor.getUserBalance(uid);
    	}else
    	{
    		return 0;
    	}
    }