Structure for a local login authentication with three user classes using passport node module. Password encryption with bcrypt.