Update base.html

logout function included