alter template.php for user center bugs