small modifications to post and comments controllers