Added course buying check and user now can't buy one course multiple times.