Index page now prints out errors