fix coupon.php

before user can't access if he hasn't logged in. Now can access but for buy he must login function added.