Update login and base.html