refactor merge account page