Accounts: Move profile_edit logic to accounts