Modify logic based on Core API spec

- Show alert box after the user has logged out