ajax /orders able to log in console