Added AJAX in for share approval/ denial