code to check if user is blocked in report form