updated the app so users can only edit their own posts and not of others