Passport should be working

Moved authentication to auth.js, setup authentication. Need to test on
public server