creating authentication service for firebase auth