fast forward to just before chapter 7, made some slight adjustments in order to allow registering
ignore the mail config (will contain password) and added a template file