User authentication and json web token handeling for sails.js