fix funky apostrophies and refactor flash delete call in passwords controller