Added post action to rest controller