Moved hacky doPost from base classe to maincontroler