changed post responsibilities to server method