fixes the getStudent method in services to pull for detail views