refund message for purchased courses

Add little more logic for paid courses