passport authentication function was factored out to controller. More meaningfull error message on duplication of any unique indexed field is coded within the "user" controller. Some console.log debug helpers are still to be removed