more meaningful error messages for pokerauth, also refactored it somewhat