removing hardcoded url from client