#30 register hooks in the boostrap