swapping over user database