solved buttons added to the index if problem belongs to current user. cannot get javascript to remove problem when resolved.