Client-server iOS/node.js module for user authentication