tweaks for sign-up errors and flash messaging on success