implement synch algorithm on client side
bug fix for User.get() to avoid fetch() being called multiple times
Merge pull request #21 from thedecimal/master

sync algorithm and bug fix