Added more appropriate notices in posts controller