only use ugligy when not in dev mode
remove logging
Add a LinkService and use it in the controller