Fix error on students#index when not logged in