Naive passport implementation and server.js cleanup