add deleting posts funcitonality
better user authorisation for post deletion
show flash messages
fix destroy tests