Add auth and rules to firebase for resource page