Refactored getJoinURL. Now is based in a Map<String, String> params instead of the concrete parameters