formatted error messages on memberships page