FIX hardcoded controller path to be rest url