Added post action functionality