Set up flashing of log in and log out