Just like login algorithm of CakePHP's auth component, this will give JSON response of valid user by passing email and encrypted password of MySql database.This whole module is using restify module of ...