Refactors account#posts as a more efficient recursive method.