finished setting up sharing model and controllers