Fix Displayed URL

This pull request changes the way Privly-type URLs are displayed in new.html files so that the link the user follows will stay in local code, if possible. Previously the link's href would be set to the local code destination, but users may copy and paste the link in such a way that they copy the local link instead of the shareable link.

This pull request also adds an error message to the login application.