add delete check

add checking if user is authorized to delete in code. added user
authorization in report.