now a registered user can logout

Change-Id: I63f5cc6abf2a9af52f4dedeede083db74139e56a