User action: File publish

- Laying framework for using testing with File Publish spec
- Updated user publish and user pages
- Updated user api