The code looks correct to me. What exactly doesn't work? When you are paid it shows the wrong graphic? Free shows the wrong graphic? Can I get a login with the type of user that doesn't work properly so that I can view the problem? That might help me figure out what is wrong.