introduced AccountPanel to refactor