Vishv dev

Changes based on feedback on 'Google SignIn' branch.
How shall I execute the functionality of  'serialize' and 'de-serialize' user in the 'app.js' , if I wrap them in a function?

Because, currently I was trying to configure passport object (similarly  to our 'app' object of 'express' in 'app.js').
And this is one of the alternative to injection of passport module.

app.js : http://pastebin.com/4fFyPfZ1
passport-config/passport.js : http://pastebin.com/n57GGXgF

Is this the expected functionality?