old_contents: var userID;
  
  function checkUserInDatabase(authData){
  	userID = authData.google.id;
  	var usersDatabase = new Firebase("https://tinderpreneurship.firebaseio.com/users/" + userID);
  	usersDatabase.set({
  		uid: userID,
  		name: authData.google.displayName
  	});
  }
  
  function googleLogin(){
  	var ref = new Firebase("https://tinderpreneurship.firebaseio.com");
  	ref.authWithOAuthPopup('google', function(error, authData){
  		if(error){
  			console.log(error);
  		}
  		else{
  			console.log(authData);
  			checkUserInDatabase(authData);
  			console.log(authData.google.email);
  			console.log(authData.getProviderData().get('email'));
  		}
  	});
  }
new_contents: var userID;
  
  function checkUserInDatabase(authData){
  	userID = authData.google.id;
  	var usersDatabase = new Firebase("https://tinderpreneurship.firebaseio.com/users/" + userID);
  	usersDatabase.set({
  		uid: userID,
  		name: authData.google.displayName,
  		email: authData.google.email
  	});
  }
  
  function googleLogin(){
  	var ref = new Firebase("https://tinderpreneurship.firebaseio.com");
  	ref.authWithOAuthPopup('google', function(error, authData){
  		if(error){
  			console.log(error);
  		}
  		else{
  			console.log(authData);
  			checkUserInDatabase(authData);
  			//console.log(authData.google.email);
  		}
  	},
  	{
  		scope: "email"
  	});
  }
subject: Edit permissions to pull email address