add timeout to alerts on news and login