Fixed a test to include the new field 'consecutive_logs_for_failure'
Started working on admin side. Improved  maintenance tasks