Fixing Simple Example, so that it correctly alerts your login status.