Added message before exiting to login