database fixed, added 'resume' event and notifications alerts