Added alertview and method to viewDidLoad in HomeViewController