Fixed navigation bar login issue.
Fixed base.html template issue.