cd to app directory for connect-assets

connect-assets cannot locate the assets unless the assets directory is
immediately below the current working directory. You can specify a
different one, and even setup an environment variable for it, but this
is much quicker and simpler.
Standardize sample users lib
Cleanup

Removed some commented-out code.
Set maxAge basedon environment. Doesn't seem to register in the browser
though.