More features for posts controller