updating package to add homepage and updating the controller