Adding logout button the top bar if logged in