reordered for logic reasons. user_page.php