moved logout, homepage link etc to base template

all pages now show the currently logged in user