FireAuth function added