fixes and permissions check for post author