updating user_page with inheritance