Added entity resource plugin and authentication.