Redirect to home page if there is no data