search for student from database