Requesting an id from the user for the show page; Refactoring the retrieve_data method