Redirect to profile page after delete a search history