Creating a <ProtectedRoute/> component to use with solid router - SolidJS