Fix links to js directory in footer
First pass at credentials checking