logged in dropdown functionality