implement server side notification. not working at the moment