Added error catching in users home.html.erb