CSRF fix for PATCH, POST, PUT, and/or DELETE for anything that modifies
state.
Fixed Bean Instantiation and Repository operations code.