Display API errors when try to register an user