Adding module for passport configuration
Refactored auth code into passport.js
Added user authorization mechanisms to client side code