updated secrity rules in firebase and updated app accordingly