only logged-in users can edit/delete comments and posts
formatting changes
fixed permissions for new posts and comments