Add logout button to base template