changed $user to $user_obj in pne_course_home_page to prevent global $user corruption