adds private login features, email support, and security fixes