changed block on sign-up to only occur in development