Allow editing of cards

Very basic editing for now. Cleaned up the firebaseSimpleLogin code into
a service. Dragging a card now makes you the owner.