changed api url to ecsel instead of localhost