added confirm, decline, cancel buttons with working ajax and created che...

...cks so message display if events or invites are empty