Added AJAX call for updating user info