Fixed the auth to get complete url for controller.