Adding auth and fixing issues
Updating server.js