adding csrf lib to the composer config
adding a hint to the posts controller
adding a bit more logic in delete post template