create functionality to get list of students from user