client bug fixes

added defaults for both staging and prod passkeys
added language default
added default init function to all switch cases
added error handling for svgs with incorrect MIME type