Added middleware (autologin.js) for authenticating users based on session and cookies. Adding multiple routes and seperating vendor resources from the public directory.