Updated with JSON marshalling of objects on both client and server side
plus get all users.