Move account details rendering to account-management.js