added a try catch to redirect home in the event someone tampers with the URL payload