Refactored base templates in order to remove nav bar from login page.