committing code for log-out alert msg