added template function and preprocessor for the account page edit screen.