Updated to redirect to homepage on /setup if user table exists