showing correct menu links for logged in users
logout view now redirects correctly