registering users if _rev is missing, or logging in if the register wasnt caught
while debugging saving bandwith on 3g
saving each edit to the db