Not sure to understand ... are you trying to get all users that are students ?
If yes, here is what you could do.
$students = Student::all();
Or via the user.
$users = User::has('student')->get();
Can you explain what you're trying to do with the populateForm() function with the classroom, the student and the user ?