When a membership is expired it allows a user to login to their aMember account, which makes sense, since you want them to be able to renew their membership. However it still logs them in to the postnuke account and give them access to the stuff I am trying to protect. I looked into the integration code (postnuke_after_login, after_login hook) and it doesn't seem to check if the user is expired or not. Is there some function I can use to check this? I also want to be able to change the group of the user after they are expired and change them back when they renew.