added socket.io real time updates
some passport refactoring