Initial AJAX action handler
Fix  discard pile load from DB