added error+success messages for voting pages