added cascade deleting to posts and comments

added cascade deleting