Added basic permalink functionality to the app