Added support for private pages

- cleaner output based on post type
- custom upload directory