resolved error with entity manager injection, can now persist Locations