NodeJS sample auth that logs on & off a user, and allows to register to a postgres db and uses redis as a session store