Redirect inactive users after login

Is it possible to redirect user who are trying to login with a cancelled or expired subscription within Membership 2?
I need to let users know that their account is cancelled or expired in some way. I know that there are email notifications, but I would like to let them know when they try to login as well.