Fixed issue where config file needed to have the password saved but it wasn't needed
Updated to remove getEntityManger