Added error page, updated db