Added success message for adding classes