Restructured models to give more freedom to some detectors fields. Added per user permissions taking into account the Anonymous User when showing the detectors.