Modified the status message

This will show the appropriate error message when user has not login and
tries to logout.