add error handlers and contact endpoints