Replaced hardcoded url's to portal