Don't query wallet when no user is logged in

Log error for developer when this case happens