changing the server side code to reflect the change of bracket modeling from active record to firebase