paginate account history
cleanup obsolete code
fix order spec