added ajax for profile settings on page load