Implemented user and group principals connected to DB.