Abstract Crud controller.
Implemented user authentication.