Added graphing functionality. X values are by attempt number instead of by time. Authentication now happens twice, but it's avoiding crashing due to null pointers to Firebase references.