add messages middleware so admin will work