created basic framework for AJAX call in settings