better register model using a base.html to extend from it