DOWNLOAD A SAMPLE CHAPTER
That will help you build an authentication system and get a better understanding about promises.
DOWNLOAD SAMPLE