Add preview feature to backend (Do not merge)

Start adding API's needed to allow preview feature on front end.

Outstanding work:
- [ ] Store location of frontend somewhere in backend. Use this for redirect.