register user errorhandler in the right order

solved the problem proposed by  #1291 in a lighter way,
thus determining the `exception  hierarchy` at app setup time instead of running time.
Sorry, that's my fault!  I'm  also trying to figure out where goes  wrong.