fixed controller postItem to follow mvc

mvc is now followed by postItem functions