Make setup.py executable
Fix a syntax error
Add a base and logout template