Performance Tuning - Reducing Database calls
Added AJAX when adding a log entry