Converted creation and login page to extend base.html