trying to get controller to work sans rest call