email notification on registration

	auth controller now creates a field for emails which
	triggers zapier to send an email.
Refactoring and firebase fixes

	- configured code to comply with new firebase-side changes
	- refactored more code in the services.js