added is_user_student function