Updated addcourses to allow access for PG-group