User authenticates, write to firebase