show courses buy button handling

if user has bought courses, the buy button for those is disabled
Merge pull request #43 from vasouv/show-courses-disable-button

show courses buy button handling