Add flash message to logout and invalid creds view.