All written AJAX functions for guide view