retrieve page from slug in main page controller, turn error logging on