Added Facebook authentication, and allowed users to sign in using their username or email address.