Sett flash message to log out and log in