Updated accounts page to use JSON and JavaScript to get and display list
of accounts. Pagination using JSON and JavaScript.