Add secure password functionality