created general layout.html and made index.html extend it. also added /logout path