added long polling for notifications. updated every 5 secs