Changed structure of the database access and defined the creation (store in database) of organizations