started linking details activity to all courses but there are no courses in the db yet, causeing errors