Add error handler to user POST