Adds Machine Resource - Broken
Repository not updating database correctly
Unit tests need to be written to determine error source