Authentication

Added authentication, plus message display without authentication using
a shortcut.  Now using purl.js for url parsing.