Change error page to reflect an error
Change MySQL calls