adds configurable app name and issuer
adds pry statements for debugging