Updated Homepwner with viewWillAppear and viewWillDisappear