added mapposts back to controller